package com.xgry.bpm.api.business.ersonnelfiles.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PersonnelFiles")
public class PersonnelFiles extends Model<PersonnelFiles> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PersonnelFiles_id", type = IdType.AUTO)
    private Integer personnelfilesId;

    @TableField("PersonnelFiles_single_person")
    private String personnelfilesSinglePerson;

    @TableField("PersonnelFiles_single_person_id")
    private String personnelfilesSinglePersonId;

    @TableField("PersonnelFiles_auditor")
    private String personnelfilesAuditor;

    @TableField("PersonnelFiles_altered_person")
    private String personnelfilesAlteredPerson;

    @TableField("PersonnelFiles_making_time")
    private LocalDateTime personnelfilesMakingTime;

    @TableField("PersonnelFiles_audit_time")
    private LocalDateTime personnelfilesAuditTime;

    @TableField("PersonnelFiles_change_time")
    private LocalDateTime personnelfilesChangeTime;

    @TableField("PersonnelFiles_billDate")
    private LocalDateTime personnelfilesBilldate;

    @TableField("PersonnelFiles_upstream_document_number")
    private String personnelfilesUpstreamDocumentNumber;

    @TableField("PersonnelFiles_downstream_document_number")
    private String personnelfilesDownstreamDocumentNumber;

    @TableField("PersonnelFiles_upstream_document_bank_number")
    private String personnelfilesUpstreamDocumentBankNumber;

    @TableField("PersonnelFiles_downstream_document_bank_number")
    private String personnelfilesDownstreamDocumentBankNumber;

    private String parentLevel;

    @TableField("PersonnelFiles_state")
    private String personnelfilesState;

    @TableField("PersonnelFiles_name")
    private String personnelfilesName;

    @TableField("PersonnelFiles_code")
    private String personnelfilesCode;

    @TableField("PersonnelFiles_Gender")
    private String personnelfilesGender;

    @TableField("PersonnelFiles_Email")
    private String personnelfilesEmail;

    @TableField("PersonnelFiles_phone")
    private String personnelfilesPhone;

    @TableField("PersonnelFiles_Operator")
    private String personnelfilesOperator;

    @TableField("PersonnelFiles_OperatorCode")
    private String personnelfilesOperatorcode;

    @TableField("PersonnelFiles_OperatorName")
    private String personnelfilesOperatorname;

    @TableField("PersonnelFiles_Remarks")
    private String personnelfilesRemarks;

    @TableField("PersonnelFiles_Outagedate")
    private LocalDateTime personnelfilesOutagedate;

    @TableField("PersonnelFiles_AffiliatedGroup")
    private String personnelfilesAffiliatedgroup;

    @TableField("PersonnelFiles_AffiliatedCompany")
    private String personnelfilesAffiliatedcompany;

    @TableField("PersonnelFiles_AffiliatedDepartments")
    private String personnelfilesAffiliateddepartments;

    @TableField("GroupManagement_id")
    private String groupmanagementId;

    @TableField("CorporateManagement_id")
    private String corporatemanagementId;

    @TableField("DepartmentalManagement_id")
    private String departmentalmanagementId;

    @TableField("PersonnelFiles_processInstanceId")
    private String personnelfilesProcessinstanceid;

    @TableField("PersonnelFiles_xgry_0001")
    private String personnelfilesXgry0001;


    @Override
    protected Serializable pkVal() {
        return this.personnelfilesId;
    }

}
